import java.util.Scanner;

public class Zhenjia {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int one = scanner.nextByte();
        int two = scanner.nextByte();
        int a = one > two ? one : two;
        System.out.println(a);
    }
}
